#pragma once

// Shuf shuffles a vector using the global randgen.
template<class T>
static void shuf(std::vector<T> v) {
	for (long i = v.size()-1; i > 0; i--) {
		std::swap(v.at(i), v.at(randgen.integer(0, i)));
	}
}